using B.S.RbacData.ErrorCode;
using B.S.RbacData.Read.API.Dtos;
using MediatR;

namespace B.S.RbacData.Read.API.Applications.Commands
{
    /// <summary>
    /// 刷新Token命令
    /// </summary>
    public class RefreshTokenCommand : IRequest<ApiResult<TokenResponse>>
    {
        /// <summary>
        /// 授权token
        /// </summary>
        public string AccessToken { get; set; } = null!;
        
        /// <summary>
        /// 刷新token
        /// </summary>
        public string RefreshToken { get; set; } = null!;
    }
} 